package com.example.untils;

public class RedisContent {
    //效验码
    public static final String LOGIN_CODE_KEY="login:code:";
    public static final Long LOGIN_CODE_TTL=5L;  //key持续2分钟时间
    public static final String LOGIN_USER_KEY="login:user:";
    public static final Long LOGIN_USER_TTL=24L; //key持续一天时间
    //分类
    public static final String CATEGORY_KEY="category:";
    public static final Long CATEGORY_TTL=30L;  //key持续30分钟时间
    //菜品
    public static final String DISH_KEY="dish:";
    public static final Long DISH_TTL=30L;  //key持续30分钟时间

}
